﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FurionApi.Demo.Application.System.Dtos
{
    public class TestInputDto
    {
        [Required(ErrorMessage ="id不能为空")]
        public string Id { get; set; }

        [Required(ErrorMessage = "Name不能为空")]
        [MaxLength(20)]
        public string Name { get; set; }

        public List<TestIntpuChildDto> Children { get; set; }
    }
}
